Minimize using static methods

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>