support for extra validation in model