Implementing abstract method.