Changed private methods to protected to increase extendibility
Commented out count for use by Jupix