Added some new convenience methods to shader