Changed to get method list, to use Reflection