Moved context-free method out of prototype

Thanks @rjz