extend self for methods