Made compile methods private