Properly fixing #257 and helps out on #324

I think this properly solves #257 replacing ```method_exists``` with ```is_callable``` as well as empty tables being generated.