Adding const version of method.