Fix STPImplements for compilation