Moved context-free method out of prototype

Thanks @rjz
Merge pull request #31 from Versal/move-out-of-prototype

Moved context-free method out of prototype