fix methods as private not to be accessed from dsl code