Adding boolean support on create response function