Implemented focus methods.