Moving method implementation to .cc file