Type specification

To avoid warning when extend this class.