Simplifying getProfile method.
2.0.8