Fixed comment.
Removed empty register function and using method_exists instead