changed type-hint to Pimple whenever possible