You should not be calling registerPrefix within every method. Do it once in this components main file, com_config/config.php