Fix reference to store_type method on layer