Added use magic method validation.