Removing unnecessary declarations in PKView