Move 'private' methods into closure