added some wrapper methods for simplification of generated code