Following declarations won't be available outside of extracted function body: val x: Int