Extract method
Load formulae into private namespace
Remove readline hack