Removed parameters count from register functions as they were not needed