Fixed namespace error for registering methodlist