Added implementation for pojo generation.